package com.example.lotterysystem.common.errorcode;

/**
 * @auther falls_vc
 * description:
 * @date 2025/5/7  20:24
 */
public interface ServiceErrorCodeConstants {
    // --------- 人员模块错误 ----------
    ErrorCode REGISTER_INFO_IS_EMPTY=new ErrorCode(100,"注册信息为空");
    ErrorCode MAIL_ERROR=new ErrorCode(101,"邮箱错误");
    ErrorCode PHONE_NUMBER_ERROR=new ErrorCode(102,"手机号错误");
    ErrorCode IDENTITY_ERROR=new ErrorCode(103,"身份错误");
    ErrorCode PASSWORD_IS_EMPTY = new ErrorCode(104, "密码为空");
    ErrorCode PASSWORD_ERROR = new ErrorCode(105, "密码错误");
    ErrorCode MAIL_USED = new ErrorCode(106, "邮箱被使用");
    ErrorCode PHONE_NUMBER_USED = new ErrorCode(107, "手机号被使用");
    ErrorCode LOGIN_INFO_NOT_EXIST = new ErrorCode(108, "登录信息不存在");
    ErrorCode LOGIN_NOT_EXIST = new ErrorCode(109, "登录方式不存在");
    ErrorCode USER_INFO_IS_EMPTY = new ErrorCode(110, "用户信息为空");
    ErrorCode VERIFICATION_CODE_ERROR = new ErrorCode(111, "验证码校验失败");
    ErrorCode VERIFICATION_CODE_SEND_ERROR = new ErrorCode(112,"验证码发送失败");
    ErrorCode VERIFICATION_CODE_INNER_NOT_EXIST =new ErrorCode(113,"验证码未申请");

    ErrorCode USER_INFO_NOT_EXIST = new ErrorCode(114,"用户信息不存在,请去登录");


    // --------- 奖品模块错误 ----------

    // --------- 活动模块错误 ----------
    ErrorCode CREATE_ACTIVITY_INFO_IS_EMPTY = new ErrorCode(300,"创建活动信息为空");
    ErrorCode ACTIVITY_USER_ERROR = new ErrorCode(301, "活动用户信息错误");

    ErrorCode ACTIVITY_PRIZE_ERROR =new ErrorCode(302,"活动奖品信息错误");
    ErrorCode ACTIVITY_USER_PRIZE_AMOUNT_ERROR =new ErrorCode(303,"活动用户-奖品数量错误");
    ErrorCode ACTIVITY_PRIZE_TIERS_ERROR =new ErrorCode(304,"活动奖品等级错误");
    ErrorCode ACTIVITY_STATUS_CONVERT_ERROR =new ErrorCode(305,"活动相关状态转换失败");
    ErrorCode CACHE_ACTIVITY_ID_IS_EMPTY =new ErrorCode(306,"缓存活动的活动id为空");
    ErrorCode CACHE_ACTIVITY_ID_ERROR =new ErrorCode(307,"缓存活动的活动id有误");


    // --------- 抽奖模块错误 ----------
    ErrorCode ACTIVITY_OR_PRIZE_IS_EMPTY =new ErrorCode(400,"活动奖品为空");
    ErrorCode ACTIVITY_COMPLETED =new ErrorCode(401,"活动奖品已完成");
    ErrorCode ACTIVITY_PRIZE_COMPLETED =new ErrorCode(402,"活动奖品已被抽取");
    ErrorCode WINNER_PRIZE_AMOUNT_ERROR =new ErrorCode(403,"中奖人数和奖品数量不一致");


    // --------- 图片模块错误 ----------
    ErrorCode PICTURE_UPLOAD_ERROR = new ErrorCode(500,"图片上传失败");

}
